%ECHO OFF
%ECHO Starting ECS System
PAUSE
%ECHO ECS Monitoring Console
START "MUSEUM ENVIRONMENTAL CONTROL SYSTEM CONSOLE" /NORMAL java ECSConsole localhost EventManager localhost HBManager MuseumECS "Legacy Museum Control System"
TIMEOUT 0.1
%ECHO Starting Temperature Controller Console
START "TEMPERATURE CONTROLLER CONSOLE" /MIN /NORMAL java TemperatureController localhost EventManager localhost HBManager TempController "Legacy Temperature Controller"
TIMEOUT 0.1
%ECHO Starting Humidity Sensor Console
START "HUMIDITY CONTROLLER CONSOLE" /MIN /NORMAL java HumidityController localhost EventManager localhost HBManager HumidityController "Legacy Humidity Controller"
TIMEOUT 0.1
START "TEMPERATURE SENSOR CONSOLE" /MIN /NORMAL java TemperatureSensor localhost EventManager localhost HBManager TempSensor "Legacy Temperature Sensor"
TIMEOUT 0.1
%ECHO Starting Humidity Sensor Console
START "HUMIDITY SENSOR CONSOLE" /MIN /NORMAL java HumiditySensor localhost EventManager localhost HBManager HumiditySensor "Legacy Humidity Sensor"
TIMEOUT 0.1

%ECHO Starting Window Sensor Console
START "WINDOW SENSOR" /MIN /NORMAL java WindowSensor localhost SecurityManager localhost HBManager WindowSensor "Window Sensort on Floor 4"
TIMEOUT 0.1
%ECHO Starting Door Sensor Console
START "DOOR SENSOR" /MIN /NORMAL java DoorSensor localhost SecurityManager localhost HBManager DoorSensor "Door Sensor on Floor 1"
TIMEOUT 0.1
%ECHO Starting Motion Sensor Console
START "MOTION SENSOR" /MIN /NORMAL java MotionSensor localhost SecurityManager localhost HBManager MotionSensor "Motion Sensor at Back Entrance"
TIMEOUT 0.1
START "SECURITY CONTROLLER" /MIN /NORMAL java SecurityController localhost SecurityManager localhost HBManager SecurityController "Main Security Controller"
TIMEOUT 0.1
START "SIMULATOR" /MIN /NORMAL java Simulator localhost SecurityManager
TIMEOUT 0.1
START "SECURITY MONITOR" /MIN /NORMAL java SecurityMonitorB localhost SecurityManager localhost HBManager SecurityMonitor "Security Monitor B with Fire Control Interface"
TIMEOUT 0.1

START "FIRE CONTROLLER" /MIN /NORMAL java FireController localhost SecurityManager localhost HBManager FireAlarm "Fire Alarm Controller"
TIMEOUT 0.1
START "SPRINKLER CONTROLLER" /MIN /NORMAL java SprinklerController localhost SecurityManager localhost HBManager Sprinkler "Sprinkler Controller"
TIMEOUT 0.1
START "FIRE SENSOR" /MIN /NORMAL java FireSensor localhost SecurityManager localhost HBManager FireDetector "Fire Detector on 3rd floor"
TIMEOUT 0.1
START "SERVICE MONITOR" /MIN /NORMAL java ServiceMonitor localhost HBManager ServiceMonitor "Service Monitor Console"